﻿using Contact.API.Data.Core;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;

namespace Contact.API.Data.Interface
{
    public interface IContactApplyRequestRepository
    {
        Task<List<ContactApplyRequest>> GetContactRequestListAsync(int userId,CancellationToken cancellactionToken);
        Task<bool> AddRequestAsync(ContactApplyRequest contactApplyRequest, CancellationToken cancellactionToken);
        Task<bool> ApproveRequestAsync(int applierId,int userId, CancellationToken cancellactionToken);
    }
}
